﻿<%@ Page Language="C#" MasterPageFile="~/Users/MasterPage.master" AutoEventWireup="true" Inherits="Users_UserBalanceRunningAccount" Title="Untitled Page" Codebehind="UserBalanceRunningAccount.aspx.cs" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   <script type="text/javascript" src="../Include/JS/PopupCalendar.js"></script>
   <script type="text/javascript">
       function OpenOrderWindow(link)
       {
           
           var url = "MyOrderDetail.aspx?OrderID=" + link.title;
           window.open(url);
       }
    </script>
    <div class="r_right">
        <div class="r_title3">
            <h2>
                 会员结余款流水帐 </h2>
        </div>
<div style="float:right; width:720px; text-align:left; margin-top:10px; margin-bottom:10px;">
    调整日期：<asp:TextBox ID="txtCheckDateStart" runat="server" Width="120px" OnClick="getDateString(this,oCalendarChs)"></asp:TextBox>
        至<asp:TextBox ID="txtCheckDateEnd" runat="server" Width="120px" OnClick="getDateString(this,oCalendarChs)"></asp:TextBox>&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" CssClass="ssbutton" Text="查找" /></div>
   <div style="float:left; width:729px; text-align:left;"><asp:Repeater ID="rptBALANCEADJUST" runat="server" OnItemCommand="rptBALANCEADJUST_ItemCommand">
    <HeaderTemplate>
        <table id="BALANCEADJUSTList" width="720" border="0" cellspacing="1" cellpadding="0" bgcolor="#d88468">
            <tr class="r_bgcolor">
                <td>
                    单据编号
                </td>
                <td>
                    关联单据编号
                </td>
                <td>
                    调整类型
                </td>
                <td>
                    调整日期
                </td>
                <td>
                    调整金额
                </td>
                <td>
                    当前余额
                </td>
            </tr>
    </HeaderTemplate>
    <ItemTemplate>
        <tr onmouseover="Fuscous(this)" onmouseout="Undertone(this)" class="r_bgcolor1">
            <td>
                <a href="../Users/UserBalanceRunningAccountDetail.aspx?code=<%# Eval("BA_ID") %>"><%# Eval("BA_ID") %></a>
            </td>
            <td>
                <a href="#" class="lj" title='<%# Eval("BA_RID")%>' onclick="OpenOrderWindow(this)"><%# Eval("BA_RID")%></a>
            </td>
            
            <td>
                <%# Eval("BAT_NAME") %>
            </td>
            <td>
                <%# Eval("BA_CHECKDATE")%>
            </td>
            <td>
                <%# String.Format("{0:0.00}",Eval("BAD_AMT")) %>
            </td>
            <td>
                <%# String.Format("{0:0.00}",Eval("BAD_BALANCE")) %>
            </td>
        </tr>
    </ItemTemplate>
    <FooterTemplate>
        </table>
    </FooterTemplate>
</asp:Repeater></div>
    <div style="text-align:right; margin-top:10px; float:left; width:720px; "><webdiyer:aspnetpager id="AspNetPager1" 
        runat="server"
       NumericButtonCount="8" 
       ShowCustomInfoSection="left" 
       PagingButtonSpacing="0"
       ShowInputBox="always" 
       HorizontalAlign="Center" 
       SubmitButtonText="转到" 
       NumericButtonTextFormatString="[{0}]" OnPageChanged="AspNetPager1_PageChanged" FirstPageText="首页" InputBoxClass="1" InputBoxStyle="1" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页" SubmitButtonClass="ssbutton"></webdiyer:aspnetpager></div>
    </div>
</asp:Content>

